//
//  Fraction.h
//  Text
//
//  Created by 完美 on 15/10/15.
//  Copyright (c) 2015年 WJN. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Fraction : NSObject

-(instancetype)initWithNumerator:(NSInteger)numberator withDenominator:(NSInteger)denominator;
+(instancetype)FractionwithNumerator:(NSInteger)numberator withDenominator:(NSInteger)denominator;

-(void)print;
-(void)reduce;
-(Fraction *)addFraction:(Fraction *)anotherFaction;
-(Fraction *)SubFraction :(Fraction*)anotherFraction;
-(Fraction *)MulFraction:(Fraction *)anotherFraction;
-(Fraction *)DivisionFraction :(Fraction *)anotherFraction;
-(NSInteger)numberator;
-(NSInteger)denominator;

@end
